Skip to content

Conversation

@bswck
Copy link
Contributor

@bswck bswck commented Jan 27, 2025

@bswck
Copy link
Contributor Author

bswck commented Jan 27, 2025

Concern to address: duplication of repr docs in the help string.

My idea: change the __repr__ docstring to a different one, underlining its overridability.

@bswck
Copy link
Contributor Author

bswck commented Jan 27, 2025

This PR assumes super() works in typing.NamedTuple subclasses, so it is blocked by #129352.

@rhettinger rhettinger self-assigned this Jan 28, 2025
@rhettinger rhettinger closed this Feb 3, 2025
@bswck bswck deleted the add-namedtuple-_repr branch February 3, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants